package com.mall.util;

public class Id implements Comparable<Id> {
private String id;
public String getId() {
	return id;
}
public void setId(String id) {
	this.id = id;
}
public Id(String id){
	
	this.id =id;
}
// returns 1 if two id s are equal, returns 0 if they are not.
public int compareTo(Id id) {
	if(this.equals(id)){return 1;}
	else{return 0;}

}

}
